Release 10.1A: OpenEdge Development:
Programming Interfaces
Creating aliases in applications
You cannot assign and reference an alias in the same procedure. You must assign an alias to a logical database name prior to compiling and running procedures that use that alias. For example,
i-alias1.pbelow fails to compile when it reaches theFOREACHstatement, because you cannot assign and reference the aliasmyaliasin a single procedure:
To solve this problem, split
i-alias1.pinto two procedures, as in the following examples:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |